package com.itheima.api;

import java.util.Arrays;

public class ArraysTest {

    // arrays 数组工具类
    public static void main(String[] args) {
        demo1();
    }


    public static void demo1() {
        System.out.println(Arrays.toString(new int[]{1, 2, 3, 4}));
        int[] number = new int[]{1, 10, 11, 12, 67, 90};
        // 正序
        Arrays.sort(number);
        System.out.println(Arrays.toString(number));
    }


}
